package com.ph.shopping.common.core.customenum;

/**
 * 交易码
 * 
 * @author WQiang
 * 
 */
public enum TransCodeEnum {
	
	MEMBER_CONSUME(1000,"购买消费积分", -1,"购买商品消费积分"),
	
	MEMBER_UNLINE_ORDER(1009,"线下消费积分",-1,"线下订单消费积分"),
	
	MERCHANT_UNLINE_ORDER(1008, "创建线下订单", -1, "创建线下订单消费余额"),
	
	MERCHANT_STOCK(1007,"商户进货",-1,"商户进货消耗余额"),
	
	AGENT_STOCK(1006,"代理商进货",-1,"代理商进货消耗余额"),
	
	MEMBER_COST_STANDBYSCORE(1005,"消耗待用积分",-1,"消耗待用积分转为可用积分"),
	
	MEMBER_RETURN_ENABLESCORE(1004,"返回可用积分", 1, "返回可用积分"),
	
	MEMBER_DRAWCASHADD(1003,"提现累计积分", 1, "会员已提现积分累计"),

	MEMBER_DRAWCASH(1002,"提现消费积分", -1, "会员提现消费积分"),

	MERCHANT_CHARGE_ORDER(1010,"商户充值",-1,"商户充值订单"),
	AGENT_CHARGE_ORDER(1011,"代理商充值",-1,"代理商充值订单"),
	SUPPLIER_CHARGE_ORDER(1012,"供应商充值",-1,"供应商充值订单"), 
	MERCHANT_WITHDRAWALS(1013,"商户提现",-1,"商户提现操作用户余额记录表"),
	AGENT_WITHDRAWALS(1014,"代理提现",-1,"代理提现操作用户余额记录表"),
	MEMBER_CASH(1015,"会员提现",-1,"增加会员提现流水"),

	
	MEMBER_BACK_SCORE(1001,"商品赠送积分", 1, "购买商品后返回待用积分");
	
	
	private TransCodeEnum(int code,String source, int mark,
			String msg) {
		this.code = code;
		this.source = source;
		this.mark = mark;
		this.msg = msg;
	}

	private int code;
	private String source;
	private int mark;
	private String msg;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public int getMark() {
		return mark;
	}

	public void setMark(int mark) {
		this.mark = mark;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

}
